﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CBD RID: 3261
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OOOEFJNNGFH : IMessage<OOOEFJNNGFH>, IMessage, IEquatable<OOOEFJNNGFH>, IDeepCloneable<OOOEFJNNGFH>, IBufferMessage
	{
		// Token: 0x17002902 RID: 10498
		// (get) Token: 0x0600919C RID: 37276 RVA: 0x001827BD File Offset: 0x001809BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OOOEFJNNGFH> Parser
		{
			get
			{
				return OOOEFJNNGFH._parser;
			}
		}

		// Token: 0x17002903 RID: 10499
		// (get) Token: 0x0600919D RID: 37277 RVA: 0x001827C4 File Offset: 0x001809C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OOOEFJNNGFHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002904 RID: 10500
		// (get) Token: 0x0600919E RID: 37278 RVA: 0x001827D6 File Offset: 0x001809D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OOOEFJNNGFH.Descriptor;
			}
		}

		// Token: 0x0600919F RID: 37279 RVA: 0x001827DD File Offset: 0x001809DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOOEFJNNGFH()
		{
		}

		// Token: 0x060091A0 RID: 37280 RVA: 0x001827E8 File Offset: 0x001809E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOOEFJNNGFH(OOOEFJNNGFH other) : this()
		{
			this.source_ = other.source_;
			this.rogueAction_ = ((other.rogueAction_ != null) ? other.rogueAction_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060091A1 RID: 37281 RVA: 0x00182834 File Offset: 0x00180A34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OOOEFJNNGFH Clone()
		{
			return new OOOEFJNNGFH(this);
		}

		// Token: 0x17002905 RID: 10501
		// (get) Token: 0x060091A2 RID: 37282 RVA: 0x0018283C File Offset: 0x00180A3C
		// (set) Token: 0x060091A3 RID: 37283 RVA: 0x00182844 File Offset: 0x00180A44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LAKJKLKIIAO Source
		{
			get
			{
				return this.source_;
			}
			set
			{
				this.source_ = value;
			}
		}

		// Token: 0x17002906 RID: 10502
		// (get) Token: 0x060091A4 RID: 37284 RVA: 0x0018284D File Offset: 0x00180A4D
		// (set) Token: 0x060091A5 RID: 37285 RVA: 0x00182855 File Offset: 0x00180A55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HIAAMAPMJIA RogueAction
		{
			get
			{
				return this.rogueAction_;
			}
			set
			{
				this.rogueAction_ = value;
			}
		}

		// Token: 0x060091A6 RID: 37286 RVA: 0x0018285E File Offset: 0x00180A5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OOOEFJNNGFH);
		}

		// Token: 0x060091A7 RID: 37287 RVA: 0x0018286C File Offset: 0x00180A6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OOOEFJNNGFH other)
		{
			return other != null && (other == this || (this.Source == other.Source && object.Equals(this.RogueAction, other.RogueAction) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060091A8 RID: 37288 RVA: 0x001828BC File Offset: 0x00180ABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Source != LAKJKLKIIAO.SwordTrainGameSourceTypeNone)
			{
				num ^= this.Source.GetHashCode();
			}
			if (this.rogueAction_ != null)
			{
				num ^= this.RogueAction.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060091A9 RID: 37289 RVA: 0x00182917 File Offset: 0x00180B17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060091AA RID: 37290 RVA: 0x0018291F File Offset: 0x00180B1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060091AB RID: 37291 RVA: 0x00182928 File Offset: 0x00180B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Source != LAKJKLKIIAO.SwordTrainGameSourceTypeNone)
			{
				output.WriteRawTag(24);
				output.WriteEnum((int)this.Source);
			}
			if (this.rogueAction_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.RogueAction);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060091AC RID: 37292 RVA: 0x00182984 File Offset: 0x00180B84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Source != LAKJKLKIIAO.SwordTrainGameSourceTypeNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Source);
			}
			if (this.rogueAction_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueAction);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060091AD RID: 37293 RVA: 0x001829DC File Offset: 0x00180BDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OOOEFJNNGFH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Source != LAKJKLKIIAO.SwordTrainGameSourceTypeNone)
			{
				this.Source = other.Source;
			}
			if (other.rogueAction_ != null)
			{
				if (this.rogueAction_ == null)
				{
					this.RogueAction = new HIAAMAPMJIA();
				}
				this.RogueAction.MergeFrom(other.RogueAction);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060091AE RID: 37294 RVA: 0x00182A44 File Offset: 0x00180C44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060091AF RID: 37295 RVA: 0x00182A50 File Offset: 0x00180C50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueAction_ == null)
						{
							this.RogueAction = new HIAAMAPMJIA();
						}
						input.ReadMessage(this.RogueAction);
					}
				}
				else
				{
					this.Source = (LAKJKLKIIAO)input.ReadEnum();
				}
			}
		}

		// Token: 0x04003785 RID: 14213
		private static readonly MessageParser<OOOEFJNNGFH> _parser = new MessageParser<OOOEFJNNGFH>(() => new OOOEFJNNGFH());

		// Token: 0x04003786 RID: 14214
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003787 RID: 14215
		public const int SourceFieldNumber = 3;

		// Token: 0x04003788 RID: 14216
		private LAKJKLKIIAO source_;

		// Token: 0x04003789 RID: 14217
		public const int RogueActionFieldNumber = 14;

		// Token: 0x0400378A RID: 14218
		private HIAAMAPMJIA rogueAction_;
	}
}
